package com.gs.cd.service.auth.service;

import com.gs.cd.service.auth.model.AuthUserRole;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author seven
 * @since 2020-12-22
 */
public interface AuthUserRoleService extends IService<AuthUserRole> {

    /**
     * 通过用户名获取
     * @param loginName
     * @param tenantCode
     * @return
     */
    List<AuthUserRole> listByUserLoginName(String loginName, String tenantCode);
}
